<html>
<head>

<link rel="stylesheet" href="../../../../Styles/Default.css">
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>function</b> GreenComponent(Color32: <a href="../Types/Color%20Types.htm#TColor32">TColor32</a>): 
  Integer;</p>
<h2>Description</h2>
<p class="Body">Extracts the green component from the parameter.</p>
<p class="Body">This function is provided for convenience and backward compatibility only. In performance-critical parts of your code use <a href="../Types/Color%20Types.htm#TColor32Entry">TColor32Entry</a> typecasting or direct conversion:</p>
<p class="Code">Green := (Color32 <b>and</b> $0000FF00) <b>shr</b> 8;</p>
<p id="Hidden">[See Also] <a href="AlphaComponent.htm">AlphaComponent</a>, <a href="RedComponent.htm">RedComponent</a>, 
  <a href="BlueComponent.htm">BlueComponent</a></p>
</body>
</html>
